home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000016_fdc@columbia.edu_Tue Nov 25 09:58:30 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Problem in Kermit trying to get a file while sending it at the same time
  5. Date: 25 Nov 2003 14:54:42 GMT
  6. Organization: Columbia University
  7. Lines: 40
  8. Message-ID: <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>
  9. References: <f0bb0f39.0311250532.1b93aad@posting.google.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1069772082 26064 128.59.59.56 (25 Nov 2003 14:54:42 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 25 Nov 2003 14:54:42 GMT
  15. User-Agent: slrn/0.9.7.4 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14692
  17.  
  18. In article <f0bb0f39.0311250532.1b93aad@posting.google.com>,
  19. newexpectuser wrote:
  20. : I ran across this error as the scenerio describes. Both are trying to
  21. : connect using SSH and CKERMIT.
  22. : I am running a Kermit script called DROPOFF trying to send TESTFILE to
  23. : a remote server (it is a 2meg file) at the same time I am running a
  24. : Kermit PICKUP trying to mget files (including the TESTFILE) from this
  25. : same server in the same directory.
  26. : What is happening is, PICKUP ends first and has a partial file of
  27. : TESTFILE and DROPOFF gets 74% done (according to Kermit) and then
  28. : comes back with the error message "Last error:  FAILURE: Error writing
  29. : data" and it keeps around the partial file (74% of it).
  30. : I'm not sure why this is happening and how to avoid it. It is a
  31. : realtime scenerio where somebody may be dropping off a file in a
  32. : directory, while the other script is trying to get all the files out
  33. : of this directory.
  34. You answered your own question:
  35.  
  36. : I am running a Kermit script called DROPOFF trying to send TESTFILE to
  37. : a remote server (it is a 2meg file) at the same time I am running a
  38. : Kermit PICKUP trying to mget files (including the TESTFILE) from this
  39. : same server in the same directory.
  40.  
  41. The server does not have permission to write to a file that another 
  42. process has open for reading.  Nor would you want it to!  Please read
  43. about transaction processing here:
  44.  
  45.   http://www.columbia.edu/kermit/case10.html
  46.  
  47. and here:
  48.  
  49.   http://www.columbia.edu/kermit/ftpscripts.html#tp
  50.  
  51. to see the kinds of things you need to do.
  52.  
  53. - Frank
  54.